import {
  CoolController,
  BaseController,
  CoolUrlTag,
  TagTypes,
} from '@cool-midway/core';
import { AdvertisementEntity } from '../../entity';
import { AdvertisementService } from '../../service';

@CoolController({
  api: ['list', 'page'],
  entity: AdvertisementEntity,
  service: AdvertisementService,
})
// add 接口忽略token
@CoolUrlTag({
  key: TagTypes.IGNORE_TOKEN,
  value: ['list', 'page'],
})
export class AppAdvertisementController extends BaseController {}
